<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/6/23
  Time: 12:05
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>药方费用明细</title>
    <jsp:include page="../includes/header.jsp"/>
    <link rel="stylesheet" type="text/css" href="../../static/assets/css/datatable.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <jsp:include page="../includes/nav.jsp"/>

    <!-- Left side column. contains the logo and sidebar -->
    <jsp:include page="../includes/menu.jsp"/>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

        <section class="content-header">
            <h1>
                药方
            </h1>
            <br/>
            <small></small>
            <ol class="breadcrumb">
                <li><a href="main"><i class="fa fa-dashboard"></i> 首页</a></li>
                <li class="active">药房费用明细</li>
            </ol>
        </section>
        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">

                    <div class="box">
                        <div class="box-header">
                            <h3 class="box-title">药房费用明细列表</h3>

                        </div>
                        <div class="box-body table-responsive">
                            <table id="dataTable" class="datatable table table-hover table-bordered">
                                <thead>
                                <tr>
                                    <th><input type="checkbox" class="minimal icheck_master"/></th>
                                    <th>编号</th>
                                    <th>费用编号</th>
                                    <th>发票号</th>
                                    <th>处方型号</th>
                                    <th>厂家编号</th>
                                    <th>药品货号</th>
                                    <th>药品品名</th>
                                    <th>药品商品名</th>
                                    <th>药品规格</th>
                                    <th>药品厂家</th>
                                    <th>药品单位</th>
                                    <th>YDWBL</th>
                                    <th>药品数量</th>
                                    <th>处方条数</th>
                                    <th>批发价</th>
                                    <th>批发金额</th>
                                    <th>零售价</th>
                                    <th>零售金额</th>
                                    <th>支付金额</th>
                                    <th>TPFJE</th>
                                    <th>TLSJE</th>
                                    <th>部门编号</th>
                                    <th>TYID</th>
                                    <th>处方明细编号</th>
                                    <th>CFMXIDBK</th>
                                    <th>进货价</th>
                                    <th>进货金额</th>
                                    <th>配售备注</th>
                                    <th>使用方法</th>
                                    <th>zt</th>
                                    <th>用法</th>
                                    <th>pc</th>
                                    <th>记录</th>
                                    <th>记录单位</th>
                                    <th>ts</th>
                                    <th>准备值</th>
                                    <th>品相序号</th>
                                    <th>JSD</th>
                                    <th>药品批次号</th>
                                    <th>库存编号</th>
                                    <th>药品批号</th>
                                    <th>药品限期</th>
                                    <th>药品总数量</th>
                                    <th>BYPZSL</th>
                                    <th>CUR_KCL</th>
                                    <th>处方明细部门</th>
                                </tr>
                                </thead>
                                <tbody>
                                <c:forEach items="#{viyffymx}" var="info">
                                    <tr>
                                        <td><input id="${info.id}" type="checkbox" class="minimal"/></td>
                                        <td>${info.id}</td>
                                        <td>${info.fyid}</td>
                                        <td>${info.fph}</td>
                                        <td>${info.cfxh}</td>
                                        <td>${info.cjid}</td>
                                        <td>${info.yphh}</td>
                                        <td>${info.yppm}</td>
                                        <td>${info.ypspm} </td>
                                        <td>${info.ypgg}</td>
                                        <td>${info.ypcj}</td>
                                        <td>${info.ypdw}</td>
                                        <td>${info.ydwbl}</td>
                                        <td>${info.ypsl}</td>
                                        <td>${info.cfts}</td>
                                        <td>${info.pfj}</td>
                                        <td>${info.pfje}</td>
                                        <td>${info.lsj}</td>
                                        <td>${info.lsje} </td>
                                        <td>${info.zfje}</td>
                                        <td>${info.tpfje}</td>
                                        <td>${info.tlsje}</td>
                                        <td>${info.deptid}</td>
                                        <td>${info.tyid}</td>
                                        <td>${info.cfmxid}</td>
                                        <td>${info.cfmxidbk}</td>
                                        <td>${info.jhj}</td>
                                        <td>${info.jhje}</td>
                                        <td>${info.psbz} </td>
                                        <td>${info.syff}</td>
                                        <td>${info.zt}</td>
                                        <td>${info.yf}</td>
                                        <td>${info.pc}</td>
                                        <td>${info.jl}</td>
                                        <td>${info.jldw}</td>
                                        <td>${info.ts}</td>
                                        <td>${info.zbz}</td>
                                        <td>${info.pxxh}</td>
                                        <td>${info.jsd} </td>
                                        <td>${info.yppch}</td>
                                        <td>${info.kcid}</td>
                                        <td>${info.ypph}</td>
                                        <td>${info.ypxq}</td>
                                        <td>${info.ypzsl}</td>
                                        <td>${info.bypzsl}</td>
                                        <td>${info.curKcl}</td>
                                        <td>${info.cfmxbm}</td>
                                    </tr>
                                </c:forEach>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>

        </section>

    </div>
    <jsp:include page="../includes/copyright.jsp"/>
</div>
<jsp:include page="../includes/footer.jsp"/>
<script>
    $(function () {
        $("#dataTable").DataTable({
            "info":false,
            "paging":true,
            "lengthChange":false,
            "ordering":false,
            "searching":false,
            "severSide":true,
            "deferRender":true,
        });
    });
</script>
</body>
</html>
